import request from '@/utils/request'
import { autograph } from '@/utils/autograph'

// 会员列表
export function memberList(query) {
  const url = '/admin/userList'
  const data = autograph(url, query)
  return request({
    url: url,
    method: 'post',
    data
  })
}
// 修改会员状态
export function changeStatus(query) {
  const url = '/admin/deleteUser'
  const data = autograph(url, query)
  return request({
    url: url,
    method: 'post',
    data
  })
}
